﻿@model Inspinia_MVC5.Models.Teacher

@{
    ViewBag.Title = "Details";
}

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-sm-4">
        <h2>教师详情</h2>
        <ol class="breadcrumb">
            <li>
                @Html.ActionLink("教师列表", "Index")
            </li>
            <li class="active">
                <strong>详细信息</strong>
            </li>
        </ol>
    </div>
</div>




<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>教师个人详情</h5>
                </div>
                <div class="ibox-content">


                    <dl class="dl-horizontal">
                        <dt>
                            @Html.DisplayNameFor(model => model.Department.DepartName)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.Department.DepartName)
                        </dd>

                        <dt>
                            @Html.DisplayNameFor(model => model.TeaName)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.TeaName)
                        </dd>

                        <dt>
                            @Html.DisplayNameFor(model => model.TeaJobNum)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.TeaJobNum)
                        </dd>

                        <dt>
                            @Html.DisplayNameFor(model => model.TeaIdCard)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.TeaIdCard)
                        </dd>

                        <dt>
                            @Html.DisplayNameFor(model => model.TeaPwd)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.TeaPwd)
                        </dd>

                        <dt>
                            @Html.DisplayNameFor(model => model.TeaPhone)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.TeaPhone)
                        </dd>

                        <dt>
                            @Html.DisplayNameFor(model => model.Status)
                        </dt>

                        <dd>
                            @{
                                if (Model.Status == 1)
                                {
                                    <span>在职</span>
                                }
                                else if (Model.Status == 2)
                                {
                                    <span>离职</span>
                                }
                            }
                        </dd>
                        <dt>
                            照片
                        </dt>

                        <dd>
                            <img src="@Model.Photo" width="250" height="180" />
                        </dd>

                    </dl>


	    @Html.ActionLink("编辑", "Edit", new { id = Model.ID }, new { @class = "btn btn-primary"})
    @Html.ActionLink("返回列表", "Index", null, new { @class = "btn btn-white"})

                </div>
            </div>
        </div>
    </div>
 </div>













